package cn.neusoft.domain;

import java.util.HashMap;
import java.util.Map;

public class Warehouse {
    private int id;
    private String name;
    private String address;
    private String manager;
    private WarehouseLevelEnum level;
    private Map<String, Double> cargoWamLevel;//名称
    private Map<String, Double> cargoMaxLevel;
    private Map<String, Double> cargos;
    private Map<String, Double> preCargos;
    private Map<String, Double> preOutCargos;

    public Warehouse() {
    }

    public void setId(int id) {
        this.id = id;
    }

    public Map<String, Double> getPreOutCargos() {
        return preOutCargos;
    }

    public void setPreOutCargos(Map<String, Double> preOutCargos) {
        this.preOutCargos = preOutCargos;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setManager(String manager) {
        this.manager = manager;
    }

    public void setLevel(WarehouseLevelEnum level) {
        this.level = level;
    }

    public void setCargoWamLevel(Map<String, Double> cargoWamLevel) {
        this.cargoWamLevel = cargoWamLevel;
    }

    public void setCargoMaxLevel(Map<String, Double> cargoMaxLevel) {
        this.cargoMaxLevel = cargoMaxLevel;
    }

    public void setCargos(Map<String, Double> cargos) {
        this.cargos = cargos;
    }

    public void setPreCargos(Map<String, Double> preCargos) {
        this.preCargos = preCargos;
    }

    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getAddress() {
        return address;
    }

    public String getManager() {
        return manager;
    }

    public WarehouseLevelEnum getLevel() {
        return level;
    }

    public Map<String, Double> getCargoWamLevel() {
        return cargoWamLevel;
    }

    public Map<String, Double> getCargoMaxLevel() {
        return cargoMaxLevel;
    }

    public Map<String, Double> getCargos() {
        return cargos;
    }

    public Map<String, Double> getPreCargos() {
        return preCargos;
    }

    public Warehouse(String name, String address, String manager, WarehouseLevelEnum level, Map<String, Double> cargoWamLevel, Map<String, Double> cargoMaxLevel, Map<String, Double> cargos, Map<String, Double> preCargos, Map<String, Double> preOutCargos) {
        this.name = name;
        this.address = address;
        this.manager = manager;
        this.level = level;
        this.cargoWamLevel = cargoWamLevel;
        this.cargoMaxLevel = cargoMaxLevel;
        this.cargos = cargos;
        this.preCargos = preCargos;
        this.preOutCargos = preOutCargos;
    }
}
